package com.qk.common.exception;

import com.qk.common.enums.Code;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-10-16 9:02
 */
public class RoleException extends BaseException{
    public RoleException(Code code) {
        super(code.getMsg());
    }
    public static void throwRoleException(Code code){
        throw new RoleException(code);
    }
}
